using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TimeWar
{
    public class CRenderNode
    {
        protected CRenderedObject m_object = null;
        protected Double m_distance = 0;

        public CRenderedObject Value
        {
            get
            {
                return m_object;
            }
        }

        public Double Distance
        {
            get
            {
                return m_distance;
            }
        }

        public CRenderNode(CRenderedObject obj, Double p_distance)
        {
            m_distance = p_distance;
            m_object = obj;
        }
    }
}